BentoBox SDK
The BentoBox SDK is our smallest package, due to the majority of the functionality being housed in the smart contracts. There are only two functions contained in it, both helper functions:
toAmount()
takes the underlyingbento
shares and converts them into token amountstoShare()
takes the underlying token amounts and converts them intobento
shares
The source code can be found here.